import request from '@/plugins/axios'


export function handleUpdate(params) {

    return request({
        url: '/customers/update',
        method: "put",
        data: params
    })
}
export function saveEmp(params) {

    return request({
        url: '/customers/save',
        method: "post",
        data: params
    })
}


export function handleDelete(params) {

    return request({
        url: '/customers/remove/'+params
        // url: '/emp/remove/'+params.id+"/"+params.userId
    })
}
export function search(params) {

    return request({
        url: '/customers/getPage',
        method: "post",
        data: params
    })
}

